@extends('admin.base.index')
@section('content')
    <div class="block-area" id="text-input">
                <h3 class="block-title">修改商品版本价格页</h3>
                <form action=' {{ url("/admin/goodsdet") }}/{{ $list->id }}' method='post'>
                    <input type='hidden' name='_token' value='{{ csrf_token() }}'>
                    <input type="hidden" name="_method" value="PUT">
                    <div class="row">
                        <div class="col-lg-10">
                            <input name='about' type="text" class="form-control m-b-10" value="{{ $list->about }}" placeholder="请输入商品小广告">
                        </div>
                        <div class="col-lg-10">
                            必填：<input name='goodsdetid' type="text" class="form-control m-b-10" value="{{ $list->goodsdetid }}" disabled="flase" placeholder="商品id">
                        </div>
                        <div class="col-lg-10">
                            <input name='version1' type="text" class="form-control m-b-10" value="{{ $list->version1 }}" placeholder="请输入商品版本1">
                        </div>
                        <div class="col-lg-10">
                            <input name='version2' type="text" class="form-control m-b-10" value="{{ $list->version2 }}" placeholder="请输入商品版本2">
                        </div>
                        <div class="col-lg-10">
                            <input name='version3' type="text" class="form-control m-b-10" value="{{ $list->version3 }}" placeholder="请输入商品版本3">
                        </div>
                        <div class="col-lg-10">
                            <input name='version4' type="text" class="form-control m-b-10" value="{{ $list->version4 }}" placeholder="请输入商品版本4">
                        </div>
                        <div class="col-lg-10">
                            <input name='version5' type="text" class="form-control m-b-10" value="{{ $list->version5 }}" placeholder="请输入商品版本5">
                        </div>
                        <div class="col-lg-10">
                            <input name='price1' type="text" class="form-control m-b-10" value="{{ $list->price1 }}" placeholder="请输入商品价格1">
                        </div>
                        <div class="col-lg-10">
                            <input name='price2' type="text" class="form-control m-b-10" value="{{ $list->price2 }}" placeholder="请输入商品价格2">
                        </div>
                        <div class="col-lg-10">
                            <input name='price3' type="text" class="form-control m-b-10" value="{{ $list->price3 }}" placeholder="请输入商品价格3">
                        </div>
                        <div class="col-lg-10">
                            <input name='price4' type="text" class="form-control m-b-10" value="{{ $list->price4 }}" placeholder="请输入商品价格4">
                        </div>
                        <div class="col-lg-10">
                            <input name='price5' type="text" class="form-control m-b-10" value="{{ $list->price5 }}"  placeholder="请输入商品价格5">
                        </div>
                        <div class="col-lg-10">
                            <input name='color1' type="text" class="form-control m-b-10" value="{{ $list->color1 }}" placeholder="请输入商品颜色1">
                        </div>
                        <div class="col-lg-10">
                            <input name='color2' type="text" class="form-control m-b-10" value="{{ $list->color2 }}" placeholder="请输入商品颜色2">
                        </div>
                        <div class="col-lg-10">
                            <input name='color3' type="text" class="form-control m-b-10" value="{{ $list->color3 }}" placeholder="请输入商品颜色3">
                        </div>
                        <div class="col-lg-10">
                            <input name='color4' type="text" class="form-control m-b-10" value="{{ $list->color4 }}" placeholder="请输入商品颜色4">
                        </div>
                        <div class="col-lg-10">
                            <input name='color5' type="text" class="form-control m-b-10" value="{{ $list->color5 }}" placeholder="请输入商品颜色5">
                        </div>
                        <div class='row'>
                            <div class="col-lg-10">
                                <input type='submit' class='btn' value='确认修改'>&nbsp;&nbsp;&nbsp;&nbsp;
                                <input type="reset" class="btn" value="重置信息">
                            </div>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </form>
                <!-- 显示验证规则失败时的信息 -->
                @if (count($errors) > 0)
                    <div class="alert alert-danger">
                        <ul>
                            @foreach ($errors->all() as $error)
                                <li>{{ $error }}</li>
                            @endforeach
                        </ul>
                    </div>
                @endif
    </div>
@stop
